﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entities
{
     [Serializable]
    public class TKKeToan
    {
        private string hanhDong;
        private int tKKeToanID;
        private string maTKKeToan;
        private string tenTaiKhoan;
        private string maNhomTKKeToan;
        private string ghiChu;
        private Boolean deleted;
        Entities.TaiKhoan taiKhoan;
        public Entities.TaiKhoan TaiKhoan
        {
            get { return this.taiKhoan; }
            set
            {
                this.taiKhoan = value;
            }
        }

        public TKKeToan() { }
        public TKKeToan(int tKKeToanID)
        { this.tKKeToanID = tKKeToanID; }
        public TKKeToan(string hanhDong) 
        { this.hanhDong = hanhDong; }
        public TKKeToan( string hanhDong, int tKKeToanID, string maTKKeToan, string tenTaiKhoan, string maNhomTKKeToan, string ghiChu, Boolean deleted)
        {
            this.hanhDong = hanhDong;
            this.tKKeToanID = tKKeToanID;
            this.maTKKeToan = maTKKeToan;
            this.tenTaiKhoan = tenTaiKhoan;
            this.maNhomTKKeToan = maNhomTKKeToan;
            this.ghiChu = ghiChu;
            this.deleted = deleted;
        }

        public string HanhDong
        {
            get { return hanhDong; }
            set { hanhDong = value; }
        }
        public int TKKeToanID
        {
            get { return this.tKKeToanID; }
            set { this.tKKeToanID = value; }
        }
        public string MaTKKeToan
        {
            get { return this.maTKKeToan; }
            set{ this.maTKKeToan = value; }
        }
        public string TenTaiKhoan
        {
            get { return this.tenTaiKhoan; }
            set{this.tenTaiKhoan = value; }
        }
        public string MaNhomTKKeToan
        {
            get { return this.maNhomTKKeToan; }
            set { this.maNhomTKKeToan = value; }
        }
        public string GhiChu
        {
            get { return this.ghiChu; }
            set { this.ghiChu = value; }
        }
        public Boolean Deleted
        {
            get { return this.deleted; }
            set { this.deleted = value; }
        }
    }
}
